package com.dcm.item.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * [一句话描述该类的功能]
 *
 * @author : [pengrongsheng]
 * @createTime : [2021/3/28]
 */
@FeignClient(name="dcm-live")
public interface UploadClient {

    /**
     * 远程调用 uploadPic 方法
     * @param multipartFile
     * @return
     */
    @PostMapping(value = "/aliyun/oss/uploadPic")
    String uploadPic(MultipartFile multipartFile);
}
